/** 
* All Rights Reserved , Copyright (C) 2020 , 青岛鼎信通讯股份有限公司
* 
* PmResourceApplyLineEntity
* 资源申请明细
* 
* 修改纪录
* 2020-05-13 版本：1.0 shenyouyi 创建。
* @version 版本：1.0
* @author 作者：shenyouyi</name>
* 创建日期2020-05-13</date>
*/

package com.topscomm.pm.pojo;

import java.math.BigDecimal;
import java.util.*;
import com.topscomm.pm.*;

public class PmResourceApplyLineEntity extends PmEntity
{
    private static final long serialVersionUID = 1L;
    /** TableName:资源申请明细	*/
    public static String tableName= "PmResourceApplyLine";
    @Override
    public String getTableName(){ return "PmResourceApplyLine";}

    /** ColumnName:项目		*/
    public static String FieldProjectid = "projectid";

    /** ColumnName:资源申请单		*/
    public static String FieldResourceapplyid = "resourceapplyid";

    /** ColumnName:行号		*/
    public static String FieldLineno = "lineno";

    /** ColumnName:开始时间	根据单位类型，到天还是到小时，数量时不显示	*/
    public static String FieldStarttime = "starttime";

    /** ColumnName:结束时间		*/
    public static String FieldEndtime = "endtime";

    /** ColumnName:资源编码		*/
    public static String FieldResourcecode = "resourcecode";

    /** ColumnName:资源名称		*/
    public static String FieldResourcename = "resourcename";

    /** ColumnName:单价		*/
    public static String FieldUnitprice = "unitprice";

    /** ColumnName:数量	单位类型为数量时显示	*/
    public static String FieldNum = "num";

    /** ColumnName:单位类型	天、小时、数量	*/
    public static String FieldUnittype = "unittype";

    /** ColumnName:总金额		*/
    public static String FieldTotamoney = "totamoney";

    /** ColumnName:申请说明		*/
    public static String FieldApplyexplain = "applyexplain";

    /** ColumnName:状态		*/
    public static String FieldState = "state";

    /**项目		*/
    private long projectid;

    /**资源申请单		*/
    private long resourceapplyid;

    /**行号		*/
    private int lineno;

    /**开始时间	根据单位类型，到天还是到小时，数量时不显示	*/
    private Date starttime;

    /**结束时间		*/
    private Date endtime;

    /**资源编码		*/
    private String resourcecode;

    /**资源名称		*/
    private String resourcename;

    /**单价		*/
    private BigDecimal unitprice=BigDecimal.ZERO;

    /**数量	单位类型为数量时显示	*/
    private int num;

    /**单位类型	天、小时、数量	*/
    private String unittype;

    /**总金额		*/
    private BigDecimal totamoney=BigDecimal.ZERO;

    /**申请说明		*/
    private String applyexplain;

    /**状态		*/
    private int state;

    /**
    * @return the  projectid:项目
    */
    public long getProjectid() {
        return this.projectid;
    }

    /**
    * @param projectid:项目
    */
    public void setProjectid(long projectid) {
        this.projectid = projectid;
    }

    /**
    * @return the  resourceapplyid:资源申请单
    */
    public long getResourceapplyid() {
        return this.resourceapplyid;
    }

    /**
    * @param resourceapplyid:资源申请单
    */
    public void setResourceapplyid(long resourceapplyid) {
        this.resourceapplyid = resourceapplyid;
    }

    /**
    * @return the  lineno:行号
    */
    public int getLineno() {
        return this.lineno;
    }

    /**
    * @param lineno:行号
    */
    public void setLineno(int lineno) {
        this.lineno = lineno;
    }

    /**
    * @return the  starttime:根据单位类型，到天还是到小时，数量时不显示
    */
    public Date getStarttime() {
        return this.starttime;
    }

    /**
    * @param starttime:根据单位类型，到天还是到小时，数量时不显示
    */
    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    /**
    * @return the  endtime:结束时间
    */
    public Date getEndtime() {
        return this.endtime;
    }

    /**
    * @param endtime:结束时间
    */
    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    /**
    * @return the  resourcecode:资源编码
    */
    public String getResourcecode() {
        return this.resourcecode;
    }

    /**
    * @param resourcecode:资源编码
    */
    public void setResourcecode(String resourcecode) {
        this.resourcecode = resourcecode;
    }

    /**
    * @return the  resourcename:资源名称
    */
    public String getResourcename() {
        return this.resourcename;
    }

    /**
    * @param resourcename:资源名称
    */
    public void setResourcename(String resourcename) {
        this.resourcename = resourcename;
    }

    /**
    * @return the  unitprice:单价
    */
    public BigDecimal getUnitprice() {
        return this.unitprice;
    }

    /**
    * @param unitprice:单价
    */
    public void setUnitprice(BigDecimal unitprice) {
        this.unitprice = unitprice;
    }

    /**
    * @return the  num:单位类型为数量时显示
    */
    public int getNum() {
        return this.num;
    }

    /**
    * @param num:单位类型为数量时显示
    */
    public void setNum(int num) {
        this.num = num;
    }

    /**
    * @return the  unittype:天、小时、数量
    */
    public String getUnittype() {
        return this.unittype;
    }

    /**
    * @param unittype:天、小时、数量
    */
    public void setUnittype(String unittype) {
        this.unittype = unittype;
    }

    /**
    * @return the  totamoney:总金额
    */
    public BigDecimal getTotamoney() {
        return this.totamoney;
    }

    /**
    * @param totamoney:总金额
    */
    public void setTotamoney(BigDecimal totamoney) {
        this.totamoney = totamoney;
    }

    /**
    * @return the  applyexplain:申请说明
    */
    public String getApplyexplain() {
        return this.applyexplain;
    }

    /**
    * @param applyexplain:申请说明
    */
    public void setApplyexplain(String applyexplain) {
        this.applyexplain = applyexplain;
    }

    /**
    * @return the  state:状态
    */
    public int getState() {
        return this.state;
    }

    /**
    * @param state:状态
    */
    public void setState(int state) {
        this.state = state;
    }

}
